#文档链接 http://docs.python-requests.org/zh_CN/latest/user/quickstart.html#cookie
#pip install beautifulsoup4
#pip install lxml
import requests
from bs4 import BeautifulSoup

url_start = 'http://maoyan.com/board/4'
cookies = dict(uuid=uuid)
#加上请求头
headers = {
    'User-Agent':'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36'
}
uuid = response.cookies['uuid']

response = requests.get(url_start,headers=headers)


if response.status_code == 200:
     soup = BeautifulSoup(response.text,'lxml')

print(response.text)
